package com.health.service;

import com.health.entity.PageResult;
import com.health.entity.QueryPageBean;
import com.health.entity.Result;
import com.health.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * @Classname SetmealService
 * @Description TODO
 * @Version 1.0.0
 * @Date 2023/3/16 14:47
 * @Author RainGrd
 */
public interface SetmealService {
    Result saveSetmeal(Setmeal setmeal, Integer[] checkGroupIds);

    PageResult querySetmealPage(QueryPageBean queryPageBean);

    List<Map<String, Object>> findSetmealCount();

    Result queryAll();

    Result editSetmeal(Setmeal setmeal, Integer[] checkGroupIds);

    Result queryCheckGroupIdsBySetmealId(Integer setmealId);

    Result clearSetmealById(Integer id);
}
